package com.qf.shop.service;

import com.qf.shop.entity.Cart;
import com.qf.shop.entity.Goods;
import com.qf.shop.entity.User;
import com.qf.shop.model.TableData;

import java.util.List;

public interface IGoodsService {

    TableData<Goods> getAllGoods(Integer offset,Integer limit);

    List<Goods> getAllGoods();

    void deleteGoodsById(Integer id);

    void addGoods(Goods goods);

    // 批量导入
    void batchInset(List<Goods> userList);


    List<Cart> showCart(Integer id);
}
